package com;

public class Abc {
    public int m() {
        return 0;
    }

    public int m(int a, String b) {
        return a;
    }

    public String m(String a, int b) {
        return "bbbbb";
    }

    public static void tt(String[] args) {
        var a = new Abc();
        System.out.println(a.m());
        System.out.println(a.m());
    }

    static void a(int i) {
        System.out.println(i++);
         if (i == 10) {
            return;
        }
        a(i);//为什么++i能正常运行到一千，而i++就停不下来？
    }

//    public static void main(String[] args) {
//        a(1);
//    }
//    public static double sum(int a,int b){
//        return a+b;
//    }
    public static double sum(double a,int b){
        System.out.println("sssssssss");
        return a+b;
    }
    public static double sum(int a,double b){
        return a+b;
    }

    public static double sum(float a,int b){
        System.out.println("ffffffffffffff");
        return a+b;
    }

    public static double sum(byte a,int b){
        System.out.println("byte int");
        return a+b;
    }



    public static void main(String[] args) {
        double d = 10;
        System.out.println(sum((byte)3,5));
        System.out.println(sum(10.0, 10));


    }
}
